<AppMarkDown
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
{{/eq}}
{{#if (eq ctrlType 'form')}}
  :disabled="store.detailModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  {{#if isMultiData}}
  :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
  {{else}}
  :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
  {{/if}}
{{/if}}
{{#if item.psEditor.placeHolder}}
  placeholder="{{item.psEditor.placeHolder}}"
{{/if}}
{{#if item.psEditor.readOnly}}
  :readOnly="{{item.psEditor.readOnly}}"
{{/if}}
{{#if item.psEditor.mode}}
  mode="{{lowerCase item.psEditor.mode}}"
{{/if}}
{{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.showToolbar}}
  :showToolbar="{{item.psEditor.editorParams.showToolbar}}"
  {{/if}}
  {{#if item.psEditor.editorParams.showCatalog}}
  :showCatalog="{{item.psEditor.editorParams.showCatalog}}"
  {{/if}}
  {{#if item.psEditor.editorParams.shortCut}}
  :shortCut="{{item.psEditor.editorParams.shortCut}}"
  {{/if}}
  {{#if item.psEditor.editorParams.boxShadow}}
  :boxShadow="{{item.psEditor.editorParams.boxShadow}}"
  {{/if}}
  {{#if item.psEditor.editorParams.highLight}}
  :highLight="{{item.psEditor.editorParams.highLight}}"
  {{/if}}
  {{#if item.psEditor.editorParams.subfield}}
  :subfield="{{item.psEditor.editorParams.subfield}}"
  {{/if}}
  {{#if item.psEditor.editorParams.fontSize}}
  fontSize="{{item.psEditor.editorParams.fontSize}}"
  {{/if}}
{{/if}}
  style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
  :value="store.data.{{item.psEditor.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
{{#eq ctrlType 'grid'}}
  :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
  @component-action="(actionParam:any) => { handleComponentAction(controller, actionParam, index) }"
{{/eq}}
/>
